﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:FluidKit_Controls="clr-namespace:FluidKit.Controls;assembly=FluidKit"
	mc:Ignorable="d"
	x:Class="ImageView.View3D"
	x:Name="UserControl"
	d:DesignWidth="784" d:DesignHeight="387" Background="#FF333333">

    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition/>
            <RowDefinition Height="30"/>
            <RowDefinition Height="25"/>
        </Grid.RowDefinitions>
        <FluidKit_Controls:ElementFlow Grid.Row="1" ItemGap="0.65"  ElementWidth="300" ElementHeight="300" x:Name="EFlow" Background="#FF595959">
            <FluidKit_Controls:ElementFlow.Camera>
                <PerspectiveCamera FieldOfView="60" Position="0,3,6" LookDirection="0,-3,-6" />
            </FluidKit_Controls:ElementFlow.Camera>
        </FluidKit_Controls:ElementFlow>
        <Grid Grid.Row="2" Background="#FF595959" Margin="100, 0, 100, 0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50"/>
                <ColumnDefinition/>
                <ColumnDefinition Width="50"/>
            </Grid.ColumnDefinitions>
            <Button x:Name="BtnMinus" Grid.Column="0" Click="BtnMinus_Click">
                <Image Source="../images/player_start.png"/>
            </Button>
            <Slider Margin="10, 0, 10, 0" VerticalAlignment="Center" Grid.Column="1" Maximum="{Binding Items.Count, ElementName=EFlow, Mode=OneWay}" Value="{Binding SelectedIndex, ElementName=EFlow, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
            <Button x:Name="BtnPlus" Grid.Column="2" Click="BtnPlus_Click">
                <Image Source="../images/player_end.png"/>
            </Button>
        </Grid>

        <StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
        	<TextBlock Text="View:" Foreground="White"/>
            <RadioButton x:Name="VCFlow" Content="Cover Flow" IsChecked="True" Click="RadioButton_Click" Margin="10,0,0,0"  />
            <RadioButton Content="Slide Deck" Click="RadioButton_Click" Margin="10,0,0,0"/>
            <RadioButton Content="Time Machine" Click="RadioButton_Click" Margin="10, 0, 0, 0"  />
            <RadioButton Content="VForm" Click="RadioButton_Click" Margin="10, 0, 0, 0"  />
            <RadioButton Content="Rolodex" Click="RadioButton_Click" Margin="10, 0, 0, 0"  />
        </StackPanel>

        <StackPanel Grid.Row="3" Orientation="Horizontal" VerticalAlignment="Center" Margin="0,0,16,0">
            <TextBlock Text="Files:" Foreground="White" Width="40" Margin="10,0,0,0"/>
            <TextBlock x:Name="ImageCount" Foreground="White" Width="30" Text="0"/>
            <ProgressBar x:Name="LoadProgress" Width="200" IsIndeterminate="False" />
        </StackPanel>

    </Grid>
</UserControl>